package com.person.mapper;

import com.person.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    void addCategory(Category category);

    List<Category> inquire();

    void delete(Long id);

    void update(Category category);

    List<Category> selectCategory(Category category);

    String inquireCategory(Long id);
}
